﻿using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace MyWeb.Commin.Tests
{
    [XmlRoot(elementName:@$"Envelope",Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
    public class Envelope
    {
        [XmlElement("Header")]
        public object Header { get; set; }
        [XmlElement("Body")]
        public Body Body { get; set; }
    }

    public class Body
    {
        [XmlElement(ElementName = "ZFM_SD_OA_SN_SEARCH",Namespace = "urn:sap-com:document:sap:rfc:functions")]
        public ZFM_SD_OA_SN_SEARCH ZFM_SD_OA_SN_SEARCH { get; set; }
    }
    public class ZFM_SD_OA_SN_SEARCH
    {
        [XmlElement(ElementName ="IS_REQ",Namespace ="")]
        public IS_REQ iS_REQ { get; set; }
    }
    public class IS_REQ
    {
        /// <summary>
        ///获取或设置是否禁用，逻辑上的删除，非物理删除
        /// </summary>
        [XmlElement("is_deleted", Namespace = "")]
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [XmlElement("U_Name", IsNullable = false)]
        public string Name { get; set; }
        /// <summary>
        /// 菜单链接地址
        /// </summary>
        public string LinkUrl { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        public string Area { get; set; }
        /// <summary>
        /// 控制器名称
        /// </summary>
        public string Controller { get; set; }
        /// <summary>
        /// Action名称
        /// </summary>
        public string Action { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 菜单编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderSort { get; set; }
        /// <summary>
        /// /描述
        /// </summary>
        public string Description { get; set; }

    }
}
